home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 3 / CD ACTUAL 3.iso / linux / docs / faqs / linux-fa.sou / linux-fa / buildsend.sh < prev    next >
Encoding:
Linux/UNIX/POSIX Shell Script  |  1995-07-05  |  1.5 KB  |  55 lines

  1. #!/bin/sh
  2. # Copyright (C) 1993-1995 Ian Jackson.
  3.  
  4. # This file is free software; you can redistribute it and/or modify
  5. # it under the terms of the GNU General Public License as published by
  6. # the Free Software Foundation; either version 2, or (at your option)
  7. # any later version.
  8.  
  9. # It is distributed in the hope that it will be useful,
  10. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. # GNU General Public License for more details.
  13.  
  14. # You should have received a copy of the GNU General Public License
  15. # along with GNU Emacs; see the file COPYING.  If not, write to
  16. # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  17. # Boston, MA 02111-1307, USA.
  18.  
  19. # (Note: I do not consider works produced using these BFNN processing
  20. # tools to be derivative works of the tools, so they are NOT covered
  21. # by the GPL.  However, I would appreciate it if you credited me if
  22. # appropriate in any documents you format using BFNN.)
  23.  
  24. set -e
  25.  
  26. echo converting 1 ...
  27. ./bfnnconv.pl linux-faq.bfnn
  28. echo converting 2 ...
  29. ./bfnnconv.pl linux-faq.bfnn
  30. echo formatting 1 ...
  31. lout linux-faq.lout >/dev/null
  32. echo formatting 2 ...
  33. lout linux-faq.lout >linux-faq.ps
  34. echo changes ...
  35. ./changes.text
  36. echo tarring ...
  37. ./mktar.sh
  38.  
  39. if [ x != "x$1" ]
  40. then
  41.     echo archiving to $1 ...
  42.     mkdir $1
  43.     cp linux-faq.ascii linux-faq.source.tar.gz $1/.
  44.     echo exporting ...
  45.     cp linux-faq.tar.gz linux-faq.html.tar.gz $HOME/out/.
  46.     echo posting ...
  47.     sh ./linux-faq.post
  48.     sleep 20
  49.     echo posting changes ...
  50.     sh ./changes.post
  51. fi
  52.  
  53. echo done.
  54. exit 0
  55.